<div id = "main">
	<div class = "container">
		<form action = "" method = "post">
			<?php if (isset($saveqqResult)) { ?>
			<div class = "form_title"><span class = "tip-red"><?php echo $saveqqResult ? "设置成功" : "设置失败"; ?></span></div>
			<?php } ?>
			<ul class = "form_ul">
				<li title = "机器人账号"><label class = "form_label" for = "uin"><i class = "fa fa-qq fa-fw"></i></label><input class = "form_input" type = "text" id = "uin" name = "uin" placeholder = "QQ账号" value = "<?php echo $robot['uin']; ?>" readonly = "readonly" /></li>
				<li title = "机器人名字"><label class = "form_label" for = "name"><i class = "fa fa-paper-plane-o fa-fw"></i></label><input class = "form_input" type = "text" id = "name" name = "name" placeholder = "机器人名字" value = "<?php echo $robot['name']; ?>" /></li>
				<li title = "创建者QQ"><label class = "form_label" for = "create_uin"><i class = "fa fa-flag-o fa-fw"></i></label><input class = "form_input" type = "text" id = "create_uin" name = "create_uin" placeholder = "创建者QQ" value = "<?php echo $robot['create_uin']; ?>" /></li>
				<li title = "是否开启群聊"><label class = "form_label" for = "is_group_speech_true"><i class = "fa fa-toggle-on fa-fw"></i></label><span class = "form_i_title">开启群聊</span><input class = "form_radio" type = "radio" id = "is_group_speech_true" name = "is_group_speech" value = "true" <?php echo $robot['is_group_speech'] == 1 ? "checked=\"checked\"" : "";?> />是<input class = "form_radio" type = "radio" id = "is_group_speech_false" name = "is_group_speech" value = "false" <?php echo $robot['is_group_speech'] == 0 ? "checked=\"checked\"" : "";?> />否<label class = "form_label form_label_right" for = "is_group_speech_false"><i class = "fa fa-toggle-off fa-fw"></i></label></li>
				<li title = "是否开启私聊"><label class = "form_label" for = "is_personal_speech_true"><i class = "fa fa-toggle-on fa-fw"></i></label><span class = "form_i_title">开启私聊</span><input class = "form_radio" type = "radio" id = "is_personal_speech_true" name = "is_personal_speech" value = "true" <?php echo $robot['is_personal_speech'] == 1 ? "checked=\"checked\"" : "";?> />是<input class = "form_radio" type = "radio" id = "is_personal_speech_false" name = "is_personal_speech" value = "false" <?php echo $robot['is_personal_speech'] == 0 ? "checked=\"checked\"" : "";?> />否<label class = "form_label form_label_right" for = "is_personal_speech_false"><i class = "fa fa-toggle-off fa-fw"></i></label></li>
				<li title = "是否回复消息"><label class = "form_label" for = "is_reply_true"><i class = "fa fa-toggle-on fa-fw"></i></label><span class = "form_i_title">是否回复</span><input class = "form_radio" type = "radio" id = "is_reply_true" name = "is_reply" value = "true" <?php echo $robot['is_reply'] == 1 ? "checked=\"checked\"" : "";?> />是<input class = "form_radio" type = "radio" id = "is_reply_false" name = "is_reply" value = "false" <?php echo $robot['is_reply'] == 0 ? "checked=\"checked\"" : "";?> />否<label class = "form_label form_label_right" for = "is_reply_false"><i class = "fa fa-toggle-off fa-fw"></i></label></li>
				<li title = "是否开启挂机模式"><label class = "form_label" for = "is_hook_true"><i class = "fa fa-toggle-on fa-fw"></i></label><span class = "form_i_title">挂机模式</span><input class = "form_radio" type = "radio" id = "is_hook_true" name = "is_hook" value = "true" <?php echo $robot['is_hook'] == 1 ? "checked=\"checked\"" : "";?> />是<input class = "form_radio" type = "radio" id = "is_hook_false" name = "is_hook" value = "false" <?php echo $robot['is_hook'] == 0 ? "checked=\"checked\"" : "";?> />否<label class = "form_label form_label_right" for = "is_hook_false"><i class = "fa fa-toggle-off fa-fw"></i></label></li>
				<li title = "是否开启掉线重连"><label class = "form_label" for = "is_reconnection_true"><i class = "fa fa-toggle-on fa-fw"></i></label><span class = "form_i_title">掉线重连</span><input class = "form_radio" type = "radio" id = "is_reconnection_true" name = "is_reconnection" value = "true" <?php echo $robot['is_reconnection'] == 1 ? "checked=\"checked\"" : "";?> />是<input class = "form_radio" type = "radio" id = "is_reconnection_false" name = "is_reconnection" value = "false" <?php echo $robot['is_reconnection'] == 0 ? "checked=\"checked\"" : "";?> />否<label class = "form_label form_label_right" for = "is_reconnection_false"><i class = "fa fa-toggle-off fa-fw"></i></label></li>
				<li title = "是否开启机器人运行"><label class = "form_label" for = "is_run_true"><i class = "fa fa-toggle-on fa-fw"></i></label><span class = "form_i_title">是否运行</span><input class = "form_radio" type = "radio" id = "is_run_true" name = "is_run" value = "true" <?php echo $robot['is_run'] == 1 ? "checked=\"checked\"" : "";?> />是<input class = "form_radio" type = "radio" id = "is_run_false" name = "is_run" value = "false" <?php echo $robot['is_run'] == 0 ? "checked=\"checked\"" : "";?> />否<label class = "form_label form_label_right" for = "is_run_false"><i class = "fa fa-toggle-off fa-fw"></i></label></li>
				<li><input class = "form_button" type = "submit" value = "确认修改" /></li>
			</ul>
		</form>
	</div>
</div>